﻿using LardonPokerSimulator.Model;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LardonPokerSimulatorTest.Model
{
    [TestClass]
    public class TestPlayer
    {

        [TestMethod]
        public void TestName()
        {
            Player p = new Player("name", 0);
            Assert.AreEqual("name", p.Name);
        }

        [TestMethod]
        public void TestTokens()
        {
            Player p = new Player(null, 10);
            Assert.AreEqual(10, p.Tokens);
        }
    }
}
